<template>
	<div></div>
</template>
<script>
export default {
  created() {
    if (this.$route.query.name && this.$route.query.params) {
      router.replace({ name: this.$route.query.name, params: this.$route.query.params })
    } else if (this.$route.query.name) {
      router.replace({ name: this.$route.query.name })
    } else if (this.$route.query.fullPath) {
      router.replace(this.$route.query.fullPath)
      } else {
        console.log('refresh fail')
    }
  }
}
</script>